package com.coder.rental.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.coder.rental.entity.CarBrand;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 汽车品牌 Mapper 接口
 * </p>
 *
 * @author zhaojj
 * @since 2025-01-10
 */
public interface CarBrandMapper extends BaseMapper<CarBrand> {
    Page<CarBrand> searchByPage(@Param("page") Page<CarBrand>page,
                                @Param("carBrand") CarBrand carBrand);

    List<CarBrand> selectAll();
}
